/**
 * output package name
 */
package com.kingdee.eas.jyproject;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TaskState extends StringEnum
{
    public static final String ADDNEW_VALUE = "10";
    public static final String SAVE_VALUE = "20";
    public static final String SUBMIT_VALUE = "30";
    public static final String AUDIT_VALUE = "40";
    public static final String CAME_VALUE = "50";
    public static final String EXECUTE_VALUE = "60";
    public static final String PAUSE_VALUE = "70";
    public static final String FORBIDDEN_VALUE = "80";
    public static final String CLOSE_VALUE = "90";

    public static final TaskState ADDNEW = new TaskState("ADDNEW", ADDNEW_VALUE);
    public static final TaskState SAVE = new TaskState("SAVE", SAVE_VALUE);
    public static final TaskState SUBMIT = new TaskState("SUBMIT", SUBMIT_VALUE);
    public static final TaskState AUDIT = new TaskState("AUDIT", AUDIT_VALUE);
    public static final TaskState CAME = new TaskState("CAME", CAME_VALUE);
    public static final TaskState EXECUTE = new TaskState("EXECUTE", EXECUTE_VALUE);
    public static final TaskState PAUSE = new TaskState("PAUSE", PAUSE_VALUE);
    public static final TaskState FORBIDDEN = new TaskState("FORBIDDEN", FORBIDDEN_VALUE);
    public static final TaskState CLOSE = new TaskState("CLOSE", CLOSE_VALUE);

    /**
     * construct function
     * @param String taskState
     */
    private TaskState(String name, String taskState)
    {
        super(name, taskState);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TaskState getEnum(String taskState)
    {
        return (TaskState)getEnum(TaskState.class, taskState);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TaskState.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TaskState.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TaskState.class);
    }
}